package liquidfs.data.ops;

import java.io.*;
import java.util.*;

import liquidfs.*;
import liquidfs.data.*;

public class NotifyOperation extends AbstractOperation<Void> implements ModificationOperation<Void> {

   private Notification notification;
   
   public NotifyOperation(PeerDevice origin, Notification notification) {
      super(origin);
      this.notification = notification;
   }
   
   @Override
   public Notification getNotification () {
      return this.notification;
   }
   
   @Override
   public boolean isModification () {
      return true;
   }

   @Override
   public Void execute(Application app, InputStream in, OutputStream out) {
      // TODO Auto-generated method stub
      return null;
   }

   @Override
   public void fix(Application app, Object state, byte[] data) {
      // TODO Auto-generated method stub   
   }

   @Override
   public Date getModificationDate() {
      // TODO Auto-generated method stub
      return null;
   }

   @Override
   public Revision getCurrentRevision() {
      // TODO Auto-generated method stub
      return null;
   }

   @Override
   public Revision getPreviousRevision() {
      // TODO Auto-generated method stub
      return null;
   }

   @Override
   public List<Revision> getRevisions() {
      // TODO Auto-generated method stub
      return null;
   }

   @Override
   public boolean isIgnored(Application app) {
      // TODO Auto-generated method stub
      return false;
   }

   @Override
   public boolean isConflicting(Application app) {
      // TODO Auto-generated method stub
      return false;
   }

   @Override
   public boolean isFileOperation() {
      // TODO Auto-generated method stub
      return false;
   }

}
